package com.example.controller;

import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @Description: 公共请求控制器
 * @Auther: Swain
 * @Date: 2021/1/11 16:48
 * @Version 1.0.0
 */
@Log4j2
@ApiIgnore
@Controller
public class CommonController {

    /**
     * @param
     * @return java.lang.String
     * @Description 跳转swaggerUI界面
     * @Author swain
     * @Date 2021/1/13
     */
    @RequestMapping("/")
    public String swagger() {
        return "redirect:/document.html";
    }

}
